package com.tianyi.sfzy1.service;

import com.tianyi.sfzy1.domain.Consultationreview;
import com.tianyi.sfzy1.mapper.ConsultationreviewMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: RenJianWoDi
 * @Date: 2025/1/11 16:46
 * @Description:
 */

@Service
public class ConsultationreviewService {

    @Autowired
    private ConsultationreviewMapper consultationreviewMapper;

    //通过成员id和咨询id以及星级内容增加评价
    public int insert(int memberId,int appointmentId,int stars,String content){
        return consultationreviewMapper.insertRw(memberId,appointmentId,stars,content);
    }
}
